package yz.dut.edu.graduate.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import yz.dut.edu.graduate.bean.Result;

@Service
@Transactional(rollbackFor = RuntimeException.class)
public class ComprehensiveService3 {

    @Autowired
    HistoryService historyService;

    public Result UpdateState(long h_id){
        return historyService.UpdateState(h_id);
    }

    public Result GetData(){
        return historyService.GetData();
    }
}
